<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>会员信息</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            overflow: hidden;
            background-color: #282c34;
        }
        
        @keyframes bounce {
            10% {
                transform: translateY(20px);
                opacity: 0;
            }
            100% {
                transform: translateY(-20px);
                opacity: 1;
            }
        }
        
        @keyframes rslide {
            0% {
                opacity: 0;
                transform: translateX(100px);
            }
            100% {
                opacity: 1;
            }
        }
        
        @keyframes bslide {
            0% {
                opacity: 0;
                transform: translateY(100px);
            }
            100% {
                opacity: 1;
            }
        }
        
        @keyframes tslide {
            0% {
                opacity: 0;
                transform: translateY(-100px);
            }
            100% {
                opacity: 1;
            }
        }
        
        .position {
            position: absolute;
            height: 50%;
            width: 100%;
            min-width: 1440px;
            display: flex;
        }
        
        .top {
            color: #f6ca9d;
            background: linear-gradient(#411445, #282c34);
        }
        
        .avatar,
        .info {
            flex: 1;
        }
        
        .avatar {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .avatar img {
            width: 360px;
            height: 360px;
            border-radius: 50%;
            box-shadow: 0 2px 50px 0 #000;
            animation: bounce 1s infinite;
        }
        
        .info {
            position: relative;
        }
        
        .content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        
        .content h1 {
            line-height: 2.5;
            animation: rslide 1s;
        }
        
        .content span {
            position: relative;
            padding: 5px 10px 5px 20px;
            border-radius: 5px;
            box-shadow: 0 2px 10px -2px #000;
        }
        
        .content span::before {
            content: '';
            position: absolute;
            height: 100%;
            width: 10px;
            top: 0;
            left: 0;
            border-radius: 5px 0 0 5px;
            background: linear-gradient(#f6ca9db3, #f6ca9d, #f6ca9db3);
        }
        
        .bottom {
            top: 50%;
        }
        
        .left,
        .right {
            flex: 1;
            padding: 0 10px 10px;
            text-align: center;
        }
        
        .bottom h2 {
            margin-bottom: 40px;
        }
        
        .bottom h2 span {
            position: relative;
            background: linear-gradient(#282c34, #61dafb, #282c34);
            color: #fff;
            padding: 10px 50px;
            border-radius: 10px;
        }
        
        .bottom h2 span::before {
            content: '';
            position: absolute;
            height: 0;
            width: 0;
            line-height: 0;
            font-size: 0;
            top: 50%;
            left: 0;
            border: 10px solid transparent;
            border-left-color: #282c34;
            transform: translateY(-50%);
        }
        
        .bottom h2 span::after {
            content: '';
            position: absolute;
            height: 0;
            width: 0;
            line-height: 0;
            font-size: 0;
            top: 50%;
            right: 0;
            border: 10px solid transparent;
            border-right-color: #282c34;
            transform: translateY(-50%);
        }
        
        .item {
            position: relative;
            color: #f6ca9db3;
            width: 50%;
            margin: 0 auto 35px;
            text-align: left;
            box-shadow: 0 2px 10px -2px #000;
            border-radius: 5px;
            padding: 5px 5px 5px 8px;
            border-bottom: 5px solid #f6ca9d;
            animation: bslide 1s;
            background: linear-gradient(#282c34, #333333, #282c34);
        }
        
        .item div:nth-child(2) {
            font-size: .5rem;
        }
        
        .item div:nth-child(3) {
            position: absolute;
            right: 100px;
            top: 50%;
            top: 50%;
            transform: translateY(-50%) rotate(15deg);
        }
        
        .item div:last-child {
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-45%) rotate(15deg);
            border-radius: 5px;
            padding: 5px 5px 5px 11px;
            text-align: center;
            box-shadow: 0 2px 10px -2px #000;
            color: red;
            background-color: #282c34;
            font-weight: 700;
            border-top: 2px solid #f6ca9d;
            animation: tslide 1s;
        }
        
        .item div:last-child::before {
            content: '';
            position: absolute;
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background-color: #f6ca9d;
            top: 50%;
            left: 5px;
            transform: translateY(-50%);
        }
    </style>
</head>

<body>
    <div class="top position">
        <div class="avatar">
            <img src="./avatar.jpg" alt="头像">
        </div>

        <div class="info">
            <div class="content">
                <h1><span>姓名：张三</span></h1>
                <h1><span>电话：13333333333</span></h1>
                <h1><span>累计：376元</span></h1>
                <h1><span>余额：1888元</span></h1>
                <h1><span>折扣：7.5折</span></h1>
            </div>
        </div>
    </div>

    <div class="bottom position">
        <div class="left">
            <h2><span>充值记录</span></h2>
            <div class="item">
                <h3>三里屯</h3>
                <div>2021-03-26 19:33:50</div>
                <div>小美美</div>
                <div>￥188.23</div>
            </div>
            <div class="item">
                <h3>红庙</h3>
                <div>2021-03-26 19:33:50</div>
                <div>小美美</div>
                <div>￥18800</div>
            </div>
            <div class="item">
                <h3>百子湾</h3>
                <div>2021-03-26 19:33:50</div>
                <div>小美美</div>
                <div>￥188</div>
            </div>
            <div class="item">
                <h3>三里屯</h3>
                <div>2021-03-26 19:33:50</div>
                <div>小美美</div>
                <div>￥99</div>
            </div>
            <div class="item">
                <h3>三里屯</h3>
                <div>2021-03-26 19:33:50</div>
                <div>小美美</div>
                <div>￥1880</div>
            </div>
        </div>
        <div class="right">
            <h2><span>消费记录</span></h2>
            <div class="item">
                <h3>小舒缓解压采耳</h3>
                <div>2021-03-26 19:33:50</div>
                <div>李莉莉</div>
                <div>￥1880</div>
            </div>
            <div class="item">
                <h3>小舒缓解压采耳</h3>
                <div>2021-03-26 19:33:50</div>
                <div>李莉莉</div>
                <div>￥1880</div>
            </div>
            <div class="item">
                <h3>小舒缓解压采耳</h3>
                <div>2021-03-26 19:33:50</div>
                <div>李莉莉</div>
                <div>￥1880</div>
            </div>
            <div class="item">
                <h3>小舒缓解压采耳</h3>
                <div>2021-03-26 19:33:50</div>
                <div>李莉莉</div>
                <div>￥1880</div>
            </div>
            <div class="item">
                <h3>小舒缓解压采耳</h3>
                <div>2021-03-26 19:33:50</div>
                <div>李莉莉</div>
                <div>￥1880</div>
            </div>
        </div>
    </div>
</body>

</html>